import request from '@/utils/request'

// 查询零售订单列表
export function listPoints(query) {
  return request({
    url: '/points/details/list',
    method: 'get',
    params: query
  })
}

//积分任务获取积分
export function pointsRule(query) {
  return request({
    url: '/integral/task/pointsRule',
    method: 'get',
    params: query
  })
}